package com.imti.mall.model.order.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class OmsOrderReturnReason implements Serializable {
  @TableId(type = IdType.AUTO)
  private Long id;

    @ApiModelProperty(value = "退货类型")
    private String name;

    private Integer sort;

    @ApiModelProperty(value = "状态：0->不启用；1->启用")
    private Integer status;

    @ApiModelProperty(value = "添加时间")
    private String createTime;

    private static final long serialVersionUID = 1L;

  public OmsOrderReturnReason() {}

  public OmsOrderReturnReason(Long id, Integer status) {
    this.id = id;
    this.status = status;
  }

  public OmsOrderReturnReason(String name, Integer sort, Integer status, String createTime) {
    this.name = name;
    this.sort = sort;
    this.status = status;
    this.createTime = createTime;
  }

  public OmsOrderReturnReason(Long id, String name, Integer sort, Integer status, String createTime) {
    this.id = id;
    this.name = name;
    this.sort = sort;
    this.status = status;
    this.createTime = createTime;
  }

  public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
